/* 表单的单行容器 */
.gy-form-item {
    display: flex;
    position: relative;
    padding-left: 1rem;
    border-bottom: 1px solid #eee;
}

/* 去掉最后一行的下边框 */
.gy-form-item:last-child {
    border-bottom: none;
}

/* 表单标签 */
.gy-form-item > .gy-form-label {
    display: block;
    width: 3.5rem;
    font-size: .8rem;
    color: #666;
    height: 2rem;
    line-height: 2rem;
}

/* 表单内容区 */
.gy-form-item > .gy-form-body {
    flex: 1;
}

/* 输入框 */
.gy-form-item > .gy-form-body > .gy-input {
    width: 100%;
    height: 2rem;
    line-height: 2rem;
    font-size: .8rem;
    border: none;
}

/* 表单中的清空按钮 */
.gy-form-item > .gy-form-body > .gy-input-reset {
    position: absolute;
    width: .8rem;
    height: .8rem;
    line-height: .8rem;
    top: 50%;
    margin-top: -.4rem;
    right: 1rem;
    font-size: .6rem;
    background: #aaa;
    color: #fff;
    border-radius: 50%;
}

/* 表单中的错误提示按钮 */
.gy-form-item > .gy-form-body > .gy-input-warning {
    position: absolute;
    width: .8rem;
    height: .8rem;
    line-height: .8rem;
    top: 50%;
    margin-top: -.4rem;
    right: 1rem;
    font-size: .6rem;
    border-radius: 50%;
    color: red;
    border: 1px solid red;
}

/* 自定义单选 */
.gy-form-item > .gy-radio {
    flex: 1;
    font-size: .8rem;
    line-height: 2rem;
}
/* 未选中状态的图标 */
.gy-form-item > .gy-radio > .gy-radio-icon {
    margin-right: .5rem;
    color: #09BB07;
    visibility: hidden;
}
/* 选中状态的图标 */
.gy-form-item > .gy-radio.checked > .gy-radio-icon {
    visibility: visible;
}
/* 隐藏的radio类型的input */
.gy-form-item > .gy-radio > .gy-radio-input {
    position: absolute;
    left: -999rem;
}

/* 自定义多选 */
.gy-form-item > .gy-check {
    flex: 1;
    font-size: .8rem;
    line-height: 2rem;
}
/* 未选中时的图标 */
.gy-form-item > .gy-check > .gy-check-icon {
    margin-right: .5rem;
    border: 1px solid #ccc;
    border-radius: 50%;
    color: rgba(0,0,0,0);
    font-size: .6rem;
    width: .8rem;
    height: .8rem;
    line-height: .8rem;
}
/* 选中时的图标 */
.gy-form-item > .gy-check.checked > .gy-check-icon {
    background: #09BB07;
    color: #fff;
    border-color: rgba(0,0,0,0);
}
/* 隐藏的check类型的input */
.gy-form-item > .gy-check > .gy-check-input {
    position: absolute;
    left: -999rem;
}